/*
* Copyright (c) 2016 ShopJsp. All Rights Reserved.
 * ============================================================================
 * 版权所有 2011 - 今 北京华宇盈通科技有限公司，并保留所有权利。
 * ----------------------------------------------------------------------------
 * 提示：在未取得SHOPJSP商业授权之前，您不能将本软件应用于商业用途，否则SHOPJSP将保留追究的权力。
 * ----------------------------------------------------------------------------
 * 官方网站：http://www.shopjsp.com
 * ============================================================================
*/
package com.hyyt.shopjsp.cms.pojo;

import java.io.Serializable;
import java.sql.Timestamp;

/**
* CMS_文章表
*
* @author Robot 2016-07-01 09:38:59
*/
public class CmsArticle implements Serializable{
    private Integer articleId;          //文章ID
    private Integer categoryId;          //所属分类ID
    private String articleType;          //1,文档;;            2 图片;;            3 视频;;            4 音频
    private String title;          //这个字段的另一作用：服务于seo;;            用法：当前字段+主页title
    private String brief;          //摘要：从内容中抽取出来的一段文字，同时可以用于seo优化;;            用法：当前字段+主页description
    private String content;          //内容
    private String author;          //作者
    private String imgUrl;          //主题图片URL
    private String imgTrueName;          //主题图片真实名称
    private String outUrl;          //如果存在外部地址的话，;;            这个优先级最高，;;            点击新闻标题直接跳到这个;;            链接地址
    private String seoTitle;          //SEOTITLE
    private String keywords;          //这个字段的另一作用：服务于seo;;            用法：当前字段+主页keywords
    private Integer clickCount;          //用户点击一次增加一次
    private Integer sortCode;          //排序
    private Integer isDeal;          //0 正常状态;;            1 进入回收站，即伪删除
    private Integer isEssence;          //0 非精华;;            1 精华
    private Integer isPass;          //0未审核;;            1已经审核
    private Integer isOpenDiscuss;          //0 不开放;;            1 开发评论
    private Integer isShow;          //0不显示;;            1 显示
    private Timestamp createTime;          //取服务器的当前时间
    private Timestamp updateTime;          //修改时间
    private String publishUser;          //发布人
    private String modifyUser;          //修改人
    private Integer customerId;          //customerId
    private Integer fpId;          //
    private Integer spId;          //spId
    private Integer integral;          //integral
    private Integer topCount;          //
    private Integer treadCount;          //
    private String articleCode;          //文章编码 对应接口查询
    private Integer showType;          //1：图片+文字（含纯图片或者纯文字）  2：视频+文字
    private String videoUrl;          //上传视频路径

    public String getArticleCode() {
        return articleCode;
    }

    public void setArticleCode(String articleCode) {
        this.articleCode = articleCode;
    }

    public Integer getShowType() {
        return showType;
    }

    public void setShowType(Integer showType) {
        this.showType = showType;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    /*扩展字段*/
    private String categoryName;//分类类名
    
    public CmsArticle() {
    }

    public Integer getArticleId(){
        return this.articleId;
    }

    public void setArticleId(Integer articleId){
        this.articleId=articleId;
    }

    public Integer getCategoryId(){
        return this.categoryId;
    }

    public void setCategoryId(Integer categoryId){
        this.categoryId=categoryId;
    }

    public String getArticleType(){
        return this.articleType;
    }

    public void setArticleType(String articleType){
        this.articleType=articleType;
    }

    public String getTitle(){
        return this.title;
    }

    public void setTitle(String title){
        this.title=title;
    }

    public String getBrief(){
        return this.brief;
    }

    public void setBrief(String brief){
        this.brief=brief;
    }

    public String getContent(){
        return this.content;
    }

    public void setContent(String content){
        this.content=content;
    }

    public String getAuthor(){
        return this.author;
    }

    public void setAuthor(String author){
        this.author=author;
    }

    public String getImgUrl(){
        return this.imgUrl;
    }

    public void setImgUrl(String imgUrl){
        this.imgUrl=imgUrl;
    }

    public String getImgTrueName(){
        return this.imgTrueName;
    }

    public void setImgTrueName(String imgTrueName){
        this.imgTrueName=imgTrueName;
    }

    public String getOutUrl(){
        return this.outUrl;
    }

    public void setOutUrl(String outUrl){
        this.outUrl=outUrl;
    }

    public String getSeoTitle(){
        return this.seoTitle;
    }

    public void setSeoTitle(String seoTitle){
        this.seoTitle=seoTitle;
    }

    public String getKeywords(){
        return this.keywords;
    }

    public void setKeywords(String keywords){
        this.keywords=keywords;
    }

    public Integer getClickCount(){
        return this.clickCount;
    }

    public void setClickCount(Integer clickCount){
        this.clickCount=clickCount;
    }

    public Integer getSortCode(){
        return this.sortCode;
    }

    public void setSortCode(Integer sortCode){
        this.sortCode=sortCode;
    }

    public Integer getIsDeal(){
        return this.isDeal;
    }

    public void setIsDeal(Integer isDeal){
        this.isDeal=isDeal;
    }

    public Integer getIsEssence(){
        return this.isEssence;
    }

    public void setIsEssence(Integer isEssence){
        this.isEssence=isEssence;
    }

    public Integer getIsPass(){
        return this.isPass;
    }

    public void setIsPass(Integer isPass){
        this.isPass=isPass;
    }

    public Integer getIsOpenDiscuss(){
        return this.isOpenDiscuss;
    }

    public void setIsOpenDiscuss(Integer isOpenDiscuss){
        this.isOpenDiscuss=isOpenDiscuss;
    }

    public Integer getIsShow(){
        return this.isShow;
    }

    public void setIsShow(Integer isShow){
        this.isShow=isShow;
    }

    public Timestamp getCreateTime(){
        return this.createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime(){
        return this.updateTime;
    }

    public void setUpdateTime(Timestamp updateTime){
        this.updateTime=updateTime;
    }
    public String getPublishUser(){
        return this.publishUser;
    }

    public void setPublishUser(String publishUser){
        this.publishUser=publishUser;
    }

    public String getModifyUser(){
        return this.modifyUser;
    }

    public void setModifyUser(String modifyUser){
        this.modifyUser=modifyUser;
    }

    public Integer getCustomerId(){
        return this.customerId;
    }

    public void setCustomerId(Integer customerId){
        this.customerId=customerId;
    }

    public Integer getFpId(){
        return this.fpId;
    }

    public void setFpId(Integer fpId){
        this.fpId=fpId;
    }

    public Integer getSpId(){
        return this.spId;
    }

    public void setSpId(Integer spId){
        this.spId=spId;
    }

    public Integer getIntegral(){
        return this.integral;
    }

    public void setIntegral(Integer integral){
        this.integral=integral;
    }

    public Integer getTopCount(){
        return this.topCount;
    }

    public void setTopCount(Integer topCount){
        this.topCount=topCount;
    }

    public Integer getTreadCount(){
        return this.treadCount;
    }

    public void setTreadCount(Integer treadCount){
        this.treadCount=treadCount;
    }

    public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
}